package com.uzai.console.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.uzai.console.dto.sop.sopprirewardruleuser.SopPriRewardRuleUserQuery;
import com.uzai.console.entity.SopPriRewardRuleUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;

@Repository
public interface SopPriRewardRuleUserMapper {

    /**
     * 分页查询
     * @param page
     * @param query
     * @return
     */
    ArrayList<SopPriRewardRuleUser> findByList(Page<SopPriRewardRuleUser> page, @Param("query") SopPriRewardRuleUserQuery query);


}